#ifndef SCROLLERITEM_H
#define SCROLLERITEM_H

#include <QGraphicsItem>

class ScrollerItem : public QGraphicsItem
{
public:
    ScrollerItem(int index, QGraphicsItem* parent=0);

protected:
    virtual QRectF boundingRect() const;
    virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);

private:
    unsigned int m_code;
    QColor m_color;
};

#endif // SCROLLERITEM_H
